{ config, lib, pkgs, ... }:

{
  # Fish shell配置
  programs.fish = {
    enable = true;
    # 定义shell别名
    shellAliases = {
      k = "kubectl";
      urldecode = "python3 -c 'import sys, urllib.parse as ul; print(ul.unquote_plus(sys.stdin.read()))'";
      urlencode = "python3 -c 'import sys, urllib.parse as ul; print(ul.quote_plus(sys.stdin.read()))'";
      zenith = "zenith -c 0 -d 0 -n 0";  # 添加 zenith 别名
    };
  };
  
  # Starship提示符配置
  programs.starship = {
    enable = true;
    # 自定义配置
    settings = {
      add_newline = false;
      aws.disabled = true;
      gcloud.disabled = true;
      line_break.disabled = true;
    };
  };
} 